package com.jt.assistant.utils

import android.os.Build
import android.widget.ImageView
import coil.decode.GifDecoder
import coil.decode.ImageDecoderDecoder
import coil.load
import com.cl.picture_selector.utils.ImageLoader

class CoilLoader : ImageLoader {

    override fun loadImage(imageView: ImageView, imagePath: String) {
        //小图加载
        imageView.load(imagePath)
    }

    override fun loadPreImage(imageView: ImageView, imagePath: String) {
        //大图加载
        imageView.load(imagePath)
    }

    override fun clearMemoryCache() {
        //清理缓存
    }
}
